package com.zy.chat.service;



import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.chat.entity.SingleMessages;
import com.zy.chat.vo.RequestParams;
import com.zy.chat.vo.Singlemsgs;

import java.util.List;


public interface SaveSingleMessageService extends IService<SingleMessages> {

    Singlemsgs search(RequestParams params);

    List<SingleMessages> getNoRead(String username, String touser);

    Boolean updateToRead(String username,String touser);
}
